package patterns.chain;


/**
 * Created by lenovo on 2016/11/29 0029.
 * 错误日志类
 */
public class ErrorLogger extends AbstractLogger {
    public ErrorLogger(int level){
        this.level = level;
    }

    @Override
    protected void write(String msg) {
        System.out.println("错误日志级别：" + msg);
    }
}
